# 生成虚拟地址

param ($high10, $mid10, $low12)
$high10 = $high10 -shl 22
$mid10 = $mid10 -shl 12
$vaddr = $high10 + $mid10 + $low12
"0x{0:X4}" -f $vaddr